/* 
    选择标签
        标签选择器
        通配符选择器
            * 所有标签
        .class选择器
            多类名
            可以多次使用
        #id选择器
            唯一性
    选择器{
        属性 : 值 ;
        属性 ：值
    }

    重点 
        盒子模型

*/

/* 
    字体属性
        font-size
        font-style
        font-family 放字体
        color 文本颜色
        text-indent 首行缩进 em 当前文字大小
        font: fs/lh '字体'
        lh可以不带单位 指 几倍行距
        text-decoration
            none    无
            underlinde
            overline
            line-through 删除线
        line-height 行间距
            文字居中 行间距等于盒子高度
            改动上下两个间距 -> 上间距+文字高度+下间距 = 行高
        background-image 背景图片
            进阶 精灵图
            : none | url() ;
        bg-repeat 背景平铺
            : repeat | norepeat | repeat-y/x;
        bg-position 背景图片位置
            : 0 0 ; x y 如果指定一个，另一个固定居中对齐
            top left = left top 方位
            精确单位 x y  单位 px
        bg-attachment 背景附着
            : scroll fixed 滚动 or 固定
        复合写法
        bg: 颜色 地址 平铺 滚动 位置;
        css3 背景颜色半透明 0~1
        background:rgba( r,g ,b ,透明度);
        
        
        */

/* 清除所有自带的内外边距 css的第一行代码 */

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

/* 双伪元素清除浮动，直接在class 引用就行了
 */

.clearfix::after, .clearfix::before {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

li {
    list-style: none;
}

body {
    font: 12px/1.5 'Microsoft YaHei';
    width: 1300px;
    margin: 0 auto;
}

header {
    height: 100px;
    position: sticky;
    z-index: 3;
    top: 0px;
    background-color: #f0f1f5;
}

.banner {
    width: 980px;
    height: 150px;
    margin: 10px auto;
    /* background-color: gray; */
}

.body {
    width: 980px;
    margin: 0 auto;
    overflow: hidden;
}

.body img {
    vertical-align: middle;
    /* display: block; */
    width: 100px;
    height: 140px;
}

.body .main {
    float: left;
    margin-top: 10px;
    margin-left: 290px;
}

.nav {
    width: 150px;
    height: 40px;
    margin: 10px;
    position: fixed;
    top: 200px;
    right: 300px;
    box-shadow: 5px 5px 10px 2px darkgrey;
    overflow: hidden;
    transition: 1s;
}

.nav a:first-child::after {
    position: absolute;
    right: 12px;
    color: red;
    font-family: 'iconfont';
    content: '\e609';
}

.nav:hover {
    height: 160px;
}

.nav a:hover a:first-child::after {
    position: absolute;
    right: 12px;
    color: white;
    font-family: 'iconfont';
    content: '\e62b';
}

.nav a {
    display: block;
    background-color: #fff;
    color: #000;
    height: 40px;
    font-style: 14px;
    line-height: 40px;
    text-indent: 2em;
    text-decoration: none;
}

.nav a:hover {
    background-color: #494077;
}

.nav a:hover::after {
    position: absolute;
    right: 12px;
    color: white;
    font-family: 'iconfont';
    content: '\e62b';
}

.cvbox {
    float: left;
    width: 400px;
    height: 200px;
    border: 1px solid #91c4f5;
    margin-top: 10px;
    margin-left: 290px;
    border-radius: 10px;
    background-color: #fff;
}

.cvbox .cvboxh3 {
    background-color: #f0f1f5;
    height: 32px;
    border-bottom: 1px dotted #91c4f5;
    font-size: 14px;
    font-weight: normal;
    line-height: 32px;
    text-align: center;
    text-indent: 0em;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.cvbox button {
    height: 24px;
    padding: 0 6px;
    margin: 6px 20px;
    border-radius: 12px;
    /* 圆角矩形 高度的一半 */
}

.cvbox button:hover {
    box-shadow: 2px 2px 10px 2px darkgrey inset;
}

.cvbox button a:hover {
    background-color: #c1c1c1;
}

.cvbox ul li a {
    font-size: 12px;
    color: #666;
}

.cvbox a:hover {
    color: purple;
    background-color: #f0f1f5;
}

.cvbox ul li {
    height: 23px;
    line-height: 23px;
    padding-left: 20px;
}

.cvbox ul {
    margin-top: 6px;
}

.testrgba {
    width: 400px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
}

h3 {
    background-color: pink;
    font-size: 14px;
    line-height: 55px;
    font-weight: 400;
    text-indent: 4em;
}

.skill {
    float: left;
    /* width: 175px; */
    height: 55px;
    margin: 10px 290px;
    background-image: url(/img/skill1.png);
    background-repeat: no-repeat;
    background-position: 15px;
    background-size: 20%;
}

.skill::after {
    content: '诶嘿!';
    margin-right: 5px;
}

footer {
    width: 1300px;
    height: 160px;
    margin: 20px auto;
    font-size: 24px;
}

footer dl {
    text-align: center;
}

a {
    color: #333;
    text-decoration: none;
}

input:focus {
    background-color: skyblue;
}

p {
    text-indent: 2em;
}

body {
    background-color: #f0f1f5;
}

.introduction, .main>p {
    color: #494077;
    align-items: center;
    font-size: 12px;
    font-family: 'Microsoft YaHei';
    text-align: left;
    font-style: normal;
    text-indent: 2em;
}

.font-small {
    font-size: 12px;
    font-family: 'Microsoft YaHei';
    text-align: justify;
    font-style: normal;
    padding: 5px;
}

.font-nav {
    /* font-style: normal;
    font-weight: 700;
    font-size: 12px;
    font-family:'Microsoft YaHei'; */
    border: 1px solid gray;
    padding-left: 1px;
    padding-right: 5px;
    text-align: center;
    /* 实际开发中 用数字表示  400为normal 100-900*/
    /* 复合属性 不能颠倒顺序 可以省略 size 和 family  */
    font: normal bold 12px 'Microsoft YaHei';
}

.table {
    width: 400px;
    height: 300px;
}

table, td, th {
    border: 1px solid #494077;
    border-collapse: collapse;
    text-align: center;
}

body {
    font-size: 16/28px;
}

thead td {
    background-color: #e0dad3;
}

tbody .twotd {
    background-color: #f0ece8;
    width: 100px;
}

tbody td {
    background-color: #f5f5f5;
}

h1 {
    text-align: center;
}

.daohanglan {
    text-align: center;
}

.BGstory {
    text-align: justify;
    padding: 20px;
    font-size: 12px;
    color: #494077;
}

.topnav {
    line-height: 41px;
    border-top: 3px solid #ff8500;
    border-bottom: 1px solid #edeef0;
    margin: 0 auto;
}

.topnav a {
    display: inline-block;
    height: 41px;
    padding: 0 20px;
    font-size: 12px;
    background-color: #fcfcfc;
    color: #4c4c4c;
    text-decoration: none;
}

.topnav a:hover {
    background-color: #eee;
    color: #ff8500;
}

.boxs {
    width: 1300px;
    height: 418px;
    margin: 20px auto;
}

.box {
    float: left;
    width: 300px;
    height: 418px;
    background-color: #fff;
    margin: 0 14px;
}

.boxs .last {
    margin-right: 0;
}

.box img {
    width: 100%;
}

.box .review {
    height: 70px;
    font-size: 14px;
    padding: 0 28px;
    margin-top: 30px;
}

.box .appraise {
    font-size: 14px;
    color: #b0b0b0;
    margin-top: 20px;
    padding: 0 28px;
}

.box .info {
    margin-top: 15px;
    padding: 0 28px;
}

.info h4 {
    display: inline-block;
    font-weight: 400;
}

.info span {
    color: #ff6f00;
}

.info strong {
    color: grey;
    margin-left: 15px;
    margin-right: 6px;
}

.box:hover {
    box-shadow: darkgrey 10px 10px 30px 5px;
}

.box a:hover {
    background-color: #fff;
}

.yuan {
    float: left;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: pink;
}

.yuan:hover {
    box-shadow: 5px 5px 30px 5px darkgrey;
    /* h v 模糊距离 阴影尺寸 color inset */
}

.positiontest {
    position: relative;
    width: 500px;
    top: 0px;
    left: 20px;
    margin: 100px auto;
}

.positiontest img {
    width: 100%;
    /* width: 50%; */
    /* height: ; */
}

.positiontest .left, .right {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    color: red;
    background: rgba(255, 255, 255, 0.3);
    width: 20px;
    height: 30px;
    line-height: 30px;
    font-size: 24px;
    text-align: center;
}

.positiontest .left {
    left: 0;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.positiontest .right {
    right: 0px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.positiontest .dot {
    position: absolute;
    bottom: 15px;
    left: 50%;
    margin-left: -35px;
    /* 绝对定位居中算法 50% margin width/2 */
    width: 70px;
    height: 13px;
    color: white;
    background: rgba(255, 255, 255, 0.3);
    line-height: 13px;
    text-align: center;
    border-radius: 6.5px;
}

.dot li {
    float: left;
    width: 6px;
    height: 6px;
    margin: 4px;
    background-color: #fff;
    border-radius: 3px;
}

.dot .selected {
    background-color: red;
}

.positiontest::before {
    /* display: block; */
    content: '';
    position: absolute;
    display: none;
    top: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    background-image: url(/img/arr.png);
    background-repeat: no-repeat;
    background-position: center;
}

.positiontest:hover::before {
    display: block;
}

.triangle {
    width: 0px;
    height: 0px;
    /* border: 100px solid transparent;  顺时针简写*/
    /* border-top: 200px solid transparent;
    border-left: 0px solid greenyellow;
    border-bottom: 0px solid greenyellow;
    border-right: 100px solid #1c5391; */
    border-color: transparent #1c5391 transparent transparent;
    border-style: solid;
    border-width: 20px 10px 0 0;
}

.jd {
    position: relative;
    width: 120px;
    height: 250px;
    background-color: pink;
    margin: 10px auto;
}

.jd span {
    position: absolute;
    top: -20px;
    right: 20px;
    margin-left: -10px;
    width: 0;
    height: 0;
    line-height: 0;
    font-style: 0;
    border: 10px solid transparent;
    border-bottom-color: pink;
}

.p {
    width: 100px;
    height: 200px;
    margin: 10px auto;
    background-color: pink;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.duop {
    margin: 10px auto;
    width: 100px;
    height: 37px;
    margin: 10px auto;
    background-color: pink;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.border_margin {
    /* position: relative; */
    vertical-align: middle;
    width: 1010px;
    margin: 10px auto;
}

.border_margin img {
    float: left;
    width: 100px;
}

.border_margin ul li {
    position: relative;
    float: left;
    width: 200px;
    height: 300px;
    list-style: none;
    border: 1px solid red;
    margin: 10px 0;
    margin-left: -1px;
}

.border_margin ul li:hover {
    /* 如果盒子没有定位，则鼠标经过添加相对定位即可 */
    /* position: relative; */
    z-index: 1;
    border: 1px solid blue;
}

.clear {
    clear: both;
}

.footer_a {
    text-align: center;
    margin: 10px 0;
}

.footer_a a {
    display: inline-block;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.footer_a .cur, .footer_a .elp {
    border: none;
}

.footer_a .prev, .footer_a .next {
    width: 80px;
}

.footer_a input {
    width: 45px;
    height: 36px;
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.price {
    width: 160px;
    height: 24px;
    line-height: 24px;
    font-style: 12px;
    border: 1px solid red;
    text-align: center;
    background-color: #fff;
    margin: 10px auto;
}

.miaosha {
    position: relative;
    float: left;
    width: 90px;
    height: 100%;
    color: white;
    font-weight: 700;
    background-color: red;
}

.miaosha .miaoshatriangle {
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border-color: transparent #fff transparent transparent;
    border-style: solid;
    border-width: 22px 10px 0 0;
    margin-right: -1px;
}

.price .del {
    font-size: 12px;
    color: gray;
    text-decoration: line-through;
}

video {
    width: 50%;
}

/* input[value] {
    color: #8399c8;
} */

input[type=text] {
    color: #8399c8;
}

.ZoZo::before {
    font-family: 'iconfont';
    content: '\e602';
}

.filterWife img {
    width: 300px;
    transition: width .5s;
}

.filterWife img:hover {
    width: 600px;
    filter: blur(5px);
}

.trans {
    box-sizing: border-box;
    width: 200px;
    height: 24px;
    background-color: #f0f1f5;
    border: 1px solid red;
    border-radius: 12px;
    margin: 10px auto;
}

.transin {
    float: left;
    width: 10%;
    height: 100%;
    background-color: red;
    transition: width .5s;
    border-radius: 12px;
}

.trans:hover .transin {
    width: 100%;
}

.logo {
    /* display: inline-block; */
    box-sizing: border-box;
    position: relative;
    width: 100px;
    height: 100px;
    border: 1px solid red;
    overflow: hidden;
}

.logoson {
    position: absolute;
    width: 200px;
    height: 100px;
    left: 0px;
    top: 0px;
    background-color: red;
    transition: .5s;
}

.logo:hover .logoson {
    left: -100px;
}

.goto-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 100px;
    right: 300px;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    color: red;
    border: 1px solid red;
}

.goto-top::after {
    font-family: 'iconfont';
    content: '\e65d';
}

.heart {
    position: relative;
    width: 100px;
    height: 90px;
    margin: 10px auto;
}

.heart::after, .heart::before {
    position: absolute;
    content: "";
    left: 50px;
    top: 0;
    width: 50px;
    height: 80px;
    background: black;
    border-radius: 50px 50px 0 0;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.heart::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

/* background-image: url(/img/skill1.png);
    background-repeat: no-repeat;
    background-position: 15px;
    background-size: 20%; */